package com.dong.auth.security.filter;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.servlet.*;
import java.io.IOException;

/**
 *
 * Oauth2.0实现过滤器
 *
 * @author zhaodongchao
 * @date 2021/10/15 21:48
 * @version V1.0
 */
public class Oauth2Filter implements Filter {
    private final Logger logger = LoggerFactory.getLogger(getClass());
    @Override
    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
        logger.info("开始执行Oauth2过滤器啦！");

        chain.doFilter(request,response);
    }
}
